<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加字典项目</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">
</head>
<body>
    <!--编辑页-->
    <div class="layui-container">
        <form class="layui-form" action="{:url('admin/workflow/edit',array('workflowId'=>$info.id))}" method="post">
        	<div class="layui-form-item">
        		<label class="layui-form-label">流程名称</label>
        		<div class="layui-input-block">
        			<input class="layui-input" type="text" name="flowName" value="{$info.flowName}">
        		</div>
        	</div>
        	<div class="layui-form-item">
  				<label class="layui-form-label">流程类型</label>
  				<div class="layui-input-block">
  					 <select name="wfType">
  					 	<option></option>
  					 	{volist name="workflowType" id="item"}
  					 	<option value="{$item.subsystemNo}" {if $item.subsystemName == $info.wfType}selected{/if}>{$item.subsystemName}</option>
  					 	{/volist}
  					 </select>
  				</div>
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">步骤总数</label>
  				<div class="layui-input-block">
  					 <input class="layui-input" type="text" name="stepTotal" value="{$info.stepTotal}">
  				</div>
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">备注</label>
  				<div class="layui-input-block">	
      				<textarea name="remark" value="{$info.remark}" class="layui-textarea"></textarea>
  				</div>
  			</div>
  			<input type="hidden" name="id" value="{$info.id}">
			<div class="layui-form-item">
			    <div class="layui-input-block">
			      <button class="layui-btn btn-green" lay-submit="" lay-filter="save">保存</button>
			      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
			    </div>
		  	</div>
        </form>
    </div>
   
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/admin/workflow.js"></script>
       

</body>
</html>           

